console.log('Inside tasks module'); 

export default function completeTask(user) {
    console.log(`${user.name} completed a task`);
    completeCount++;
}

//跟踪已经完成的任务
export let completeCount = 0;